import request from "@/utils/request";
//更具二级分类id获取二级分类列表数据
export const subcategoryGetCategoryData = (id)=> request.get('/category/sub/filter',{params:{id}})

//二级分类数据筛选接口
/**
 * @description: 获取导航数据
 * @data {
     categoryId: 1005000 ,
     page: 1,
     pageSize: 20,
     sortField: 'publishTime' | 'orderNum' | 'evaluateNum'
   }
 * @return {*}
 */
export const subcategoryPostCategoryData = (data)=> request.post('/category/goods/temporary',data)

